cmake_minimum_required(VERSION 3.5)

add_library(
        handler2
        SHARED
#        CxxMessage.cpp
#        CxxHandler.cpp
#        CxxLooper.cpp
#        CxxMessageQueue.cpp
        ThreadPool.cpp
        CxxHandler.cpp
        CxxLooper.cpp
        CxxMessage.cpp
        CxxMessageQueue.cpp
        Handler2Test.cpp
        Handler2Test.h
)
target_link_libraries(
        handler2
        PRIVATE
        pthread
)